﻿using Microsoft.Extensions.Configuration;
using Model.Enum.ConfigModel;
using Utility.DB.SqlSugar;
using Utility.Extensions;

namespace LDM.Business.Repository.DbContext
{
    /// <summary>
    /// Business的数据库上下文
    /// </summary>
    public class BusinessDbContext<TPO> : DbContextBase<TPO> where TPO :
        class, new()
    {

        public BusinessDbContext(IConfiguration configuration) :
            base(configuration.GetConnectionString(ConnectionStringType.OrderSqlSever.GetDescription()))
        {

        }
    }

}
